/*
 * @Author: OBKoro1
 * @Date: 2025-09-16 09:28:28
 * @LastEditTime: 2025-09-16 10:05:35
 * @FilePath: \Gating\main\reset.h
 * @Description: 
 * 
 * Copyright (c) 2025 by ${git_name_email}, All Rights Reserved. 
 */
#pragma once 

#include "nvs.h"
#include "driver/gpio.h"
#include "esp_timer.h"
#include "esp_log.h"
#include "nvs_flash.h"
#include "esp_wifi.h"
#include "freertos/projdefs.h"
#include "gpio.h"



#define POWER_KEY_GPIO     GPIO_NUM_9    // 根据实际硬件调整
#define LONG_PRESS_TIME    2000000       // 长按时间3秒

void check_power_key_reset(void);
void boot_input(void);
